﻿using System;

namespace HslCommunication.Core
{
	/// <summary>
	/// 当前MQTT服务器文件操作的对象类<br />
	/// Object class of current MQTT server file operation
	/// </summary>
	// Token: 0x02000115 RID: 277
	public class MqttFileOperateInfo
	{
		/// <summary>
		/// 指示上传还是下载的操作，Upload上传，Download下载，Delete删除文件，DeleteFolder删除目录<br />
		/// Indicate upload or download operation, "Upload": upload, "Download": download, "Delete": delete file, "DeleteFolder": delete directory
		/// </summary>
		// Token: 0x17000522 RID: 1314
		// (get) Token: 0x060017E6 RID: 6118 RVA: 0x0007CAC6 File Offset: 0x0007ACC6
		// (set) Token: 0x060017E7 RID: 6119 RVA: 0x0007CACE File Offset: 0x0007ACCE
		public string Operate { get; set; }

		/// <summary>
		/// 文件上传或是下载的类别
		/// </summary>
		// Token: 0x17000523 RID: 1315
		// (get) Token: 0x060017E8 RID: 6120 RVA: 0x0007CAD7 File Offset: 0x0007ACD7
		// (set) Token: 0x060017E9 RID: 6121 RVA: 0x0007CADF File Offset: 0x0007ACDF
		public string Groups { get; set; }

		/// <summary>
		/// 上传,下载或是删除的文件名<br />
		/// File name uploaded, downloaded or deleted
		/// </summary>
		// Token: 0x17000524 RID: 1316
		// (get) Token: 0x060017EA RID: 6122 RVA: 0x0007CAE8 File Offset: 0x0007ACE8
		// (set) Token: 0x060017EB RID: 6123 RVA: 0x0007CAF0 File Offset: 0x0007ACF0
		public string[] FileNames { get; set; }

		/// <summary>
		/// 当前操作消耗的时间<br />
		/// Time consumed by current operation
		/// </summary>
		// Token: 0x17000525 RID: 1317
		// (get) Token: 0x060017EC RID: 6124 RVA: 0x0007CAF9 File Offset: 0x0007ACF9
		// (set) Token: 0x060017ED RID: 6125 RVA: 0x0007CB01 File Offset: 0x0007AD01
		public TimeSpan TimeCost { get; set; }
	}
}
